/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.pz.net;

/**
 *
 * @author jannek
 */
public enum Command {

    STOP,
    MORE,
    ACCEPTED,
    DENIED,
    DISCONNECT,
    GOODBYE,

    MASTER_CLIENT_CREATED,
    MASTER_FAILED_TO_PARSE,
    MASTER_MD5_SALT,
    MASTER_SERVER_LIST,
    MASTER_SERVER_INFO,
    MASTER_UPDATE_UDP,
    MASTER_SERVER_FULL,
    MASTER_SERVER_OFFLINE,
    MASTER_NAME_TAKEN,

    MASTER_UDP_CONFIRM,

    LINK_NEW_CLIENT,
    LINK_GET_MD5_SALT,
    LINK_GET_SERVER,
    LINK_GET_SERVER_LIST,
    LINK_CONNECT_TO_SERVER,
    LINK_LOGIN_WITH_NAME,
    LINK_LOGIN_WITH_ID,

    LINK_UDP_REGISTER_CLIENT,
    LINK_UDP_REGISTER_SERVER,
    LINK_UDP_UPDATE_CLIENT,
    LINK_UDP_UPDATE_SERVER,
    
    UDP_MESSAGE,
    UDP_CONFIRM,

    READ_FILE_INPUT,

    REASON_USER,
    REASON_ERROR,
    REASON_KICK,
    REASON_CLOSE,

    GET_CLIENT,
    NEW_PLAYER,
    GET_PLAYER,
    UPDATE_PLAYER,
    NEW_SERVER,
    CLOSE_SERVER,
    UPDATE_NOTIFICATION,
    PLAYER_CREATED,
    SERVER_CREATED,
    CLIENT,
    PLAYER,
    // ERRORS
    WRONG_ID_OR_KEY,
    MASTER_NO_SUCH_SERVER,
    NO_SUCH_CLIENT,
    FAILED_TO_UPDATE_UDP;
}
